home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / networking / terms / kermit / b / ckmker.bwr < prev    next >
Encoding:
Text File  |  1993-08-26  |  56.1 KB  |  1,302 lines

  1. FILE CKMKER.BWR       MACINTOSH KERMIT "BEWARE" FILE                August 1993
  2.  
  3.  
  4.   Version: Mac Kermit 0.99(189) / C-Kermit 5A(189) Pre-ALPHA
  5.   Last update: Thu Aug 26 14:09:04 1993
  6.  
  7.   Frank da Cruz, Columbia University
  8.   e-mail: fdc@columbia.edu (Internet), FDCCU@CUVMA (BITNET/EARN)
  9.  
  10.  
  11. This document applies to the pre-pre-pre-pre-release of Mac Kermit 1.0.
  12. This is a work in progress, and progress is slow due to lack of funding for
  13. the required work.
  14.  
  15. Many features remain to be filled in, refined, fixed, or even designed.
  16. Several volunteer programmers in scattered locations around the world are
  17. working on the new release as their schedules permit.
  18.  
  19. This is the first Mac Kermit version to have been built with the C-Kermit 5A
  20. file transfer protocol modules, so it incorporates all the latest protocol
  21. features of C-Kermit, including sliding windows and character set translation.
  22.  
  23. As yet, there is no documentation for Mac Kermit 1.0 except the Mac Kermit
  24. 0.9(40) user guide, this file, and the C-Kermit documentation, which describes
  25. the commands you can give at the Mac-Kermit prompt in Mac Kermit's command
  26. window, which are useful in Mac Kermit for modem dialing, script
  27. programming, etc.  C-Kermit documentation is:
  28.  
  29.   Frank da Cruz and Christine M. Gianone, "Using C-Kermit", Digital Press,
  30.   Burlington, MA, 1993, 514 pages.
  31.  
  32.     Order Number: EY-J896E-DP
  33.     Digital Press ISBN: 1-55558-108-0
  34.     Prentice Hall ISBN: 0-13-037490-3
  35.  
  36.   US single-copy price: $34.95; quantity discounts available.  Available in
  37.   computer bookstores or directly from Digital Press.  In the USA, call
  38.   DECdirect toll-free 1-800-344-4825 to order; major credit cards
  39.   accepted.
  40.  
  41.   Overseas, order through your bookstore (refer to the Prentice Hall ISBN
  42.   shown above) or your local Digital Equipment Corporation branch (refer to
  43.   the DEC order number).
  44.  
  45.   You can also order from Columbia University:
  46.  
  47.     Kermit Development and Distribution
  48.     Columbia University Academic Information Systems
  49.     612 West 115th Street
  50.     New York, NY  10025  USA
  51.     Telephone: (USA) 212 854-3703
  52.  
  53.   Domestic and overseas orders accepted.  Price: $34.95 (US, Canada, and
  54.   Mexico), $45 elsewhere.  Orders may be paid by MasterCard or Visa, or
  55.   prepaid by check in US dollars.  Add $35 bank fee for checks not drawn on
  56.   a US bank.  Price includes shipping.  Do not include sales tax.
  57.  
  58. This file contains information for both users and for implementors.
  59. Eventually everything will be sorted out and we'll have professionally
  60. published Mac-Kermit-specific user documentation.
  61.  
  62. Send comments, bug reports, etc, to me at the e-mail address above.
  63.  
  64.  
  65. THE HQX FILE
  66.  
  67. The Mac Kermit program is distributed on the Internet and BITNET/EARN in
  68. printable ASCII BinHex 4.0 form.  Convert back into a runnable application
  69. using BinHex Version 4.  If you have BinHex 5.0 rather than 4.0, you will
  70. have to edit away the plain-text line:
  71.  
  72. (This file must be converted with BinHex 4.0)
  73.  
  74. and the line below it, and then it should be covertible by BinHex 5.0.
  75.  
  76. You can also order Mac Kermit on diskette, ready to run, from Columbia
  77. University at the address above.
  78.  
  79.  
  80. SOURCE CODE
  81.  
  82. Macintosh Kermit is written in C.  The modules whose names start with "ckm"
  83. are specific to the Macintosh.  These can be C source code (.c), header files
  84. for #include (.h), or resource files (.r).  The makefile is ckmker.mak, which
  85. you should rename to kermit.make for use in MPW.  The modules whose names
  86. start with "ckc" or "cku" are shared with other C-Kermit implementations:
  87. UNIX, VMS, OS/2, Amiga, OS-9, etc.
  88.  
  89. This version of Mac Kermit can be built using only MPW C 3.2 Final (NOT 3.0
  90. or 3.1, and not any Beta version of 3.2) on the Macintosh.  MPW 3.2 is
  91. required because Mac Kermit needs more than 32K of uninitialized global data
  92. space, and the limit in MPW 3.1 and earlier is 32K.  It is probably not
  93. possible to reduce the size of the uninitialized global data area by more than
  94. about 3-4 more K (by converting array declarations to pointers and then
  95. mallocing the space at runtime), so we can't get below 32K, so therefore we
  96. must use the new MPW C 3.2 "32-bit everything" model ("-model far").
  97.  
  98.   NOTE TO DEVELOPERS: References to the Pattern data type have to be changed
  99.   to fit MPW 3.2's new redefinition (which, they say, was done to eliminate
  100.   crashes on 68000-based CPUs).  See quickdraw.h and Appendix J of the 3.2
  101.   Release Notes.  When this is done, remove "-d dangerousPattern" from the C
  102.   command line in the makefile.
  103.  
  104. Many of the source files contain 8-bit characters.  Make sure you have
  105. transferred them to your Mac correctly.  Use text mode, but make sure
  106. character translation is turned off.  Also, many of the ckm*.* files have
  107. lines longer than 80, which can prevent them from being transferred via
  108. certain kinds of e-mail (such as BITNET).
  109.  
  110.   NOTE TO DEVELOPERS: These source files need to be edited to ensure that
  111.   all lines are less than 80 characters wide (after tab expansion), and
  112.   8-bit characters are all converted to "\ooo" ASCII octal notation (I tried
  113.   using the \266 (delta) line continuation character in the kermit.make file
  114.   to break up long lines, but it didn't seem to work.)  The final release
  115.   source code should contain only 7-bit ASCII characters, and no lines
  116.   longer than 80.
  117.  
  118. NOTE: An effort is underway to make Mac Kermit also compilable by Think C.
  119.  
  120.  
  121. NEW FEATURES
  122.  
  123. Multiple screen windows: for terminal emulation, command processing, text
  124. editing, server response, etc, managed in the normal Macintosh way, as well as
  125. with a new "Window" menu to select any Mac Kermit window explicitly.  Cutting
  126. and pasting works among most of the windows, including double click to select
  127. a word, triple click to select a line.  Material can be copied from the
  128. terminal window to other Mac Kermit windows, or to other applications.
  129. Pasting into the terminal window sends text to the remote computer.  The
  130. terminal session can also be logged directly to a file.
  131.  
  132. The Command window runs the C-Kermit command parser, just like on UNIX, VMS,
  133. or OS/2, and similar to MS-DOS Kermit.  This gives you access to features that
  134. are not in the mouse/menu interface, most importantly the DIAL command and the
  135. script programming language, and allows the same script programs to be used by
  136. C-Kermit on UNIX, VMS, the Macintosh, the Amiga, OS/2, etc, and by MS-DOS
  137. Kermit (with proper precautions about portability).  Text command files can be
  138. used as Mac Kermit startup files ("init files", like for C-Kermit or MS-DOS
  139. Kermit).  Filenames can be referred to by their full path names in the SEND
  140. command, etc, for example "send diskname:foldername:filename", or by relative
  141. pathnames, e.g. "send ::foldername:filename".
  142.  
  143. Window sizing (vertically only) using the size box, including the terminal
  144. emulation window.
  145.  
  146. Scrollback in most windows, including the terminal window.
  147.  
  148. Font selection in the terminal window.
  149.  
  150. More efficient file transfer via sliding window packet protocol and longer
  151. packets.  The window size may be as big as 31 (the theoretical maximum) and
  152. packets can be up to about 5000 characters long.
  153.  
  154. File transfer character set translation (available only via the Command
  155. window).  The commands are SET FILE CHARACTER-SET, SET TRANSFER CHARACTER-SET,
  156. and SET LANGUAGE.
  157.  
  158. Locking shift packet protocol for efficient transfer of 8-bit data over
  159. 7-bit communication channels.
  160.  
  161. Dynamic packet size adjustment to adapt to communication line quality.
  162.  
  163. File transfer thermometer.
  164.  
  165. Redesigned menus (but nowhere near final).
  166.  
  167. Faster terminal emulation.
  168.  
  169. Many bugs fixed.
  170.  
  171.  
  172. MISSING OR DESIRABLE FEATURES
  173.  
  174. No Tektronix or ReGis graphics emulation (volunteers needed!).
  175.  
  176. Missing VT320 features, including 132-column mode, and VT220, VT102, VT100,
  177. and VT52 submodes.
  178.  
  179. No 3270 terminal emulation (volunteers?).
  180.  
  181. No color support, e.g. ANSI color directives during terminal emulation.
  182.  
  183. No "Print selection" and "Print screen" options selectable by mouse clicks
  184. (work is in progress).  Presently, printing can only be done in the terminal
  185. window via escape sequences sent from the host.
  186.  
  187. No SET KEY command -- key settings are accessible only through the menu
  188. interface.  Maybe in a future edit.
  189.  
  190. No Comm Toolbox support, e.g. for making connections thru MacTCP, LAT.
  191.  
  192. No multiple sessions -- e.g. modem port in one window, printer port in another.
  193. The hard part here is not putting up another window, but associating all the
  194. varied and many communication, protocol, and terminal emulation parameters
  195. separately for each window (this is not just a programming problem, but also
  196. a user interface design issue).
  197.  
  198. Internationalization of the user interface (this will be done before the
  199. final release).
  200.  
  201. Operation as a server is problematic.  Dialing in to a Mac running Mac Kermit
  202. in server mode is problematic because the needed modem signals are not
  203. available on the Mac.  The server's response to REMOTE CD, REMOTE DIRECTORY,
  204. REMOTE DELETE, and similar commands is either not working or leaves much to be
  205. desired.  Server end of REMOTE LOGIN is not implemented.
  206.  
  207.  
  208. USING MAC KERMIT WITH MODEMS
  209.  
  210. The Macintosh serial port is not an RS-232 device and does not support the
  211. full repertoire of modem signals needed for normal operation with modems.
  212. Communication with modems is accomplished using various "fakeouts", each of
  213. which sacrifices some feature in order to accomplish some other feature,
  214. since the Mac has only one modem signal to send to the modem, and reads only
  215. one modem signal from the modem.  Thus, for example, the Mac can't hang up
  216. the phone by dropping DTR and use hardware flow control at the same time.
  217.  
  218. To have the ability to hang up the phone by dropping DTR, you need a regular
  219. Macintosh modem cable that connects the Mac's "Handshake Out" signal
  220. (Mini-Din-8 Pin 1) to the modem's DTR signal (DB25 pin 20), and the modem
  221. should be configured to hang up when DTR goes down.  In Mac Kermit, you should
  222. NOT check "DTR input flow control" or "CTS output flow control".
  223.  
  224. To use hardware flow control with high-speed modems, you need:
  225.  
  226.  1. A special Macintosh hardware-flow-control-modem cable that connects the
  227.     modem's CTS signal (DB25 pin 5) to the Macintosh's "Handshake In" signal
  228.     (Mini-Din-8 Pin 2) and the Mac's "Handshake Out" signal (Mini-Din-8 Pin 1)
  229.     to the modem's RTS signal (DB25 pin 4).  This cable *might be* available
  230.     from stores or suppliers as a "Macintosh Hardware Handshake Modem Cable"
  231.     (buy at your own risk).
  232.  
  233.  2. You MUST configure your modem to ignore DTR ("&D0" on most Hayes and
  234.     compatible modems) and to use RTS/CTS flow control.  NOTE: This means
  235.     you can't hang up the phone by "dropping DTR".  Normally, it will hang
  236.     up automatically when you log out from the remote computer or service.
  237.     If it doesn't, use the escape sequence (such as +++) to get back to the
  238.     modem's command processor, and then type the modem command for hanging
  239.     up (usually ATH0).
  240.  
  241.  3. In Mac Kermit's Communications Settings menu, uncheck Xon/Xoff flow
  242.     control, and check DTR input flow control and CTS output flow control.
  243.  
  244. To use the internal modem on the Powerbook, use the Portable or PowerBook
  245. control panel (depending on if you're using System 7.0 or 7.1) to switch
  246. between the internal modem and the external modem serial port.
  247.  
  248.  
  249. GENERAL BUGS
  250.  
  251. The window size in the file transfer display is too small by one.
  252.  
  253. The new version is probably too big for 512K Macs or below.
  254.  
  255. Reportedly on a PowerBook 100 and SE30 (and perhaps other models), "put Kermit
  256. away in the finder menu by quitting using close or clicking on the close box.
  257. See the dimmed Kermit icon in the folder (normal so far). Now try to re-enter
  258. Kermit, either by double-clicking on the icon in the folder, or by selecting
  259. it from the Finder menu. Crash, bomb screen says "bus error" and allows you to
  260. restart.  No funny type manager INITs.  Doesn't seem to be bothered if the
  261. Kermit window is left open, only when it's closed but not Quit."
  262.  
  263. Reportedly, "On a Mac LC III, running sys 7.1 *invariably* and *ALWAYS*; every
  264. time I save a macro or macro set, Kermit Crashes, giving an error message '#1'.
  265. This is independent of any INITS or CDEVs, and always occurs."
  266.  
  267. Reportedly, "On a Mac II with System 6.0.7 with math coprocessor and Color
  268. Cursor, Dimmer, Mousekey, Programmer's key, Randomizer, and SAM Interrupt
  269. loaded, any attempt to save the settings file freezes the system."
  270.  
  271. Reportedly, "Using a Mac Plus with 45Meg Rodime but running Kermit from a
  272. floppy, doing a GET FILE from PC to Mac at 19200 bps with the PC as server:
  273. when the PC says 100% transmitted I get System Error ID=27 on the Mac.  The
  274. restart button on the error message box does not reboot."
  275.  
  276. SET FILE COLLISION UPDATE and subsequent reception of files makes Mac Kermit
  277. bomb.
  278.  
  279. When a SEND command is given from the Command window (at the Mac-Kermit>
  280. prompt), the file transfer display window says "Receiving" instead of
  281. "Sending".  Also, something screwy is going on with the window size -- with
  282. two window slots selected, the window size (on the display) blinks between
  283. "0" and "1"...
  284.  
  285. Reportedly, Mac Kermit does not pick up the file type (text vs binary) from
  286. an incoming file attribute packet.  So, for example, when sending a file from
  287. UNIX with SET FILE TYPE BINARY, Mac Kermit still receives it text mode
  288. (apparently the Mac-specific code has its own private file-type variable that
  289. is not coordinated with the mainline C-Kermit code).  What's worse
  290. (reportedly), when setting Mac Kermit's local file type to binary, the
  291. Macintosh locks up at the end of the transfer.
  292.  
  293. Severe problems when running on a Mac (only under System 7?) that has
  294. SuitCase, Adobe Type Manager, TrueType, or Mac Layers Keyboard loaded, ranging
  295. from messed-up screens (bad font spacing) to Kermit or Mac bombs.  Hopefully
  296. this will clear up when the new Macintosh Extended Latin font is finished and
  297. integrated with Mac Kermit.
  298.  
  299. There also seems to be an incompibility between Now Utilities 4.01 and
  300. MacKermit.  It worked OK with NU 4.0, but with NU 4.01, if you try to launch
  301. MacKermit from a pull-down NowMenu, the Mac (e.g. IIci, System 7.0 with
  302. Tune-up 1.11) freezes.
  303.  
  304. One user reports that Mac Kermit bombs unexpectedly "when trying to use key
  305. settings" unless "32-bit addressing is turned off".
  306.  
  307. Kermit's ID (signature) is KR09, which hasn't changed in years, so if you have
  308. a lot of different Kermit versions on your disk, clicking on a Kermit startup
  309. file will start a random version of Kermit, not necessarily the one you want.
  310. The ID should be updated to KR10 (files ckmker.mak = kermit.make, ckmdef.h,
  311. ckmker.r, ckmkr2.r, ckmsav.c).
  312.  
  313. Starting one copy of Mac Kermit while another one is active (e.g. under
  314. MultiFinder) results in lots of errors for both Kermits.  Kermit always
  315. initializes the modem port when it starts up, and this hangs up any other
  316. version of Kermit (and who knows what other programs) that might be using the
  317. modem port.  Kermit should (a) not touch the communication device until it
  318. needs to do i/o (this would give the selection of alternate communication
  319. devices the opportunity to take effect first), and (b) should (if this is
  320. possible on the Mac) detect whether the communication device is in use
  321. already, and if so, give an appropriate error message.
  322.  
  323. Many bugs (malfunctions, hanging or bombing of the system, even the occasional
  324. destruction of files, etc) were reported for earlier releases (and
  325. non-releases) of Mac Kermit under System 7.  Let's wipe the slate clean and
  326. see how this version fares.
  327.  
  328.  
  329. MENUS, WINDOWS, AND DIALOG BOXES
  330.  
  331. The menus are not complete, and will be rearranged.  They must fit on a small
  332. screen, even after translation into languages like Swedish, where the words
  333. are longer than English.  See APPENDIX at the end of this file.
  334.  
  335. The File menu (English version) is too long for a small screen.
  336.  
  337. Some of the dialog boxes violate the Human Interface Guidelines (HIG) from
  338. Apple, and need redesigning also.
  339.  
  340. The edit menu Undo command doesn't work, and the Edit menu lacks a Select
  341. All command.
  342.  
  343. In the file-send dialog box, an attempt to edit the "Send As" name results
  344. in deselecting the file and dimming the Send button.
  345.  
  346. Typing a letter into a file dialog box tends not to scroll the file list.
  347.  
  348. If you click on Load Settings in the File menu while the command screen is
  349. foremost, the terminal screen will come to the foreground.  However, any
  350. characters you type still go into the command window.  Load Settings should
  351. either leave you in whatever window you were in before, or else fully select
  352. the terminal window.
  353.  
  354. Various items are not saved in the settings file: the communication port
  355. (modem or printer), character sets, etc.
  356.  
  357. LOG SESSION (given from the command window) does not seem to work (produces
  358. an empty file).  CLOSE SESSION puts up an alert box.
  359.  
  360. Various confusion with cutting and pasting between windows, especially after
  361. a window that has been cut from is closed.
  362.  
  363. Pasting text into the bottom of a text window does not cause the scroll bar
  364. to update; any text below the visible region cannot be scrolled to or
  365. otherwise viewed.  (Workaround: save and reopen the file.)
  366.  
  367. Click and drag to select text doesn't scroll.  Shift-clicking should be a
  368. workaround for the above problem, but it doesn't work exactly as it should
  369. either. If the selection is scrolled out of sight, you can only shift click if
  370. the selection is >0 characters long (that is, you can extend a selection, but
  371. not from a 0-length selection).
  372.  
  373. When pasting text into the buffer, if the text is too long, the edit
  374. menu remains highlighted and Kermit appears to be out of commission.  Using
  375. MacsBug to 'es' and restart it, repainting the screen in the editor
  376. buffer on the host that I was pasting into, shows that the pasting
  377. went partway and then some characters were lost.
  378.  
  379. All blank lines are removed from text files upon opening.
  380.  
  381. There is no way to select file and transfer character sets in the menus, or
  382. language rules.  Furthermore, the present character-set menu applies only to
  383. the terminal emulation character set, and it lists many sets that are not
  384. implemented.  These should be removed.  The new menus should look
  385. approximately as shown at the end of this file, in the proposed menu
  386. design appendix.
  387.  
  388.  
  389. MAC KERMIT CHARACTER SET AND FONT BUGS
  390.  
  391. There is presently no way for users to specify their own character-encoding
  392. translations.  The translations for file transfer and terminal emulation
  393. are built in to Kermit.
  394.  
  395. A point size of 7 is listed in the Font menu, but it can't be selected.
  396.  
  397. Mac Kermit's built-in VT100 terminal font does not scale well to any size
  398. other than 9.
  399.  
  400. Mac Kermit's VT100 font has entirely different character codes than all the
  401. other Mac fonts for the "special" (8-bit) characters.  If you switch to, say,
  402. Courier for terminal emulation, all the special characters (accented letters,
  403. etc) come out wrong.  Furthermore, Apple character encodings (like Quickdraw)
  404. lack certain characters (e.g. Icelandic Thorn and Eth) needed for Latin-1.
  405.  
  406. The VT100 font is built into Mac Kermit, which means it can't be hooked in to
  407. Key Caps, so you can never find out what keys to type in order to send special
  408. characters.  This also seems to cause some problems with SuitCase and friends.
  409. The font should be externalized, but then it becomes difficult to install Mac
  410. Kermit -- you can't just stick in the disk and run it, you have to install
  411. fonts first.  It would be best to keep the font defined in Mac Kermit, but
  412. also have an external copy for the benefit of Key Caps.
  413.  
  414. The VT100 font doesn't print correctly (accented characters, VT100 special
  415. and technical characters, etc).  
  416.  
  417. See the separate file, ckmker.fon, for a detailed description of these
  418. problems and a proposed solution.
  419.  
  420. Proportional fonts can be selected during terminal emulation, but of course
  421. they don't look right because terminals use fixed-width fonts.  Maybe
  422. proportional characters could be displayed within fixed-size boxes.  Or maybe
  423. Kermit should only allow monospace fonts in its font menu.
  424.  
  425. Selecting the Chicago font doesn't work at all (a mystery).
  426.  
  427.  
  428. TERMINAL EMULATION BUGS & LIMITATIONS
  429.  
  430. Local echoing doesn't work very well.  Reportedly the characters are
  431. the wrong size and appear at positions that are unrelated to the
  432. cursor or mouse location.
  433.  
  434. If you select Mouse -> Arrow Keys in the Terminal Settings dialog,
  435. there is no way to turn off this feature.
  436.  
  437. Window height can be changed, but not width.  We need 132 column mode, and a
  438. terminal width menu selection (and correct response to VT "set width" escape
  439. sequences").
  440.  
  441. Mac Kermit does not respond correctly to DECCOLM escape sequences from the
  442. host, i.e. ESC [ ? 3 h/l (h = 132 cols, l = 80 cols).  Aside from not changing
  443. the screen width, Mac Kermit also neglects to perform the other actions
  444. associated with these sequences: (1) clear the screen, (2) home the cursor,
  445. and (3) set scrolling region to 24 lines.
  446.  
  447. Reportedly, Mac Kermit occasionally forgets its window height.  E.g. if you
  448. set the window height to (say) 38 by dragging the corner of the terminal
  449. window, and inform the host of your new terminal dimensions, eventually (maybe
  450. after several hours of correct operation), Mac Kermit will begin to scroll
  451. within a 24-line line window, even though the window is still 38 lines long.
  452.  
  453. Keyboard handling is not independent of the keyboard driver -- it assumes the
  454. US keyboard driver.  For example, Mac Kermit doesn't handle dead-key
  455. combinations used in France, Sweden, etc.  Mac Kermit accesses the KCHR
  456. resource, which is a no-no for System 7.
  457.  
  458. Beware of the Option key.  It changes the value of any characters you use with
  459. it.  If you type Option-F, the Mac will send a D, if you type Option-B, the
  460. Mac will send a ":", etc.  If you want to use the option key as a modifier, be
  461. sure to check the "Unmodify" box.
  462.  
  463. There is no mechanism (such as SO/SI, SS2, or SS3) for sending 8-bit
  464. characters to a 7-bit host during terminal emulation.
  465.  
  466. Mac Kermit does not respond to host-generated escape sequences to designate
  467. selected character sets to G0..G3, for example ESC - A to designate Latin-1 to
  468. G1.  Mac Kermit should support:
  469.  
  470.   ESC ( <ident>  Designates 94-byte character set <ident> to G0
  471.   ESC ) <ident>  Designates 94-byte character set <ident> to G1
  472.   ESC * <ident>  Designates 94-byte character set <ident> to G2
  473.   ESC + <ident>  Designates 94-byte character set <ident> to G3
  474.   ESC - <ident>  Designates 96-byte character set <ident> to G1
  475.   ESC . <ident>  Designates 96-byte character set <ident> to G2
  476.   ESC / <ident>  Designates 96-byte character set <ident> to G3
  477.  
  478. where the <idents> are:
  479.  
  480. <ident>    Size    Character-Set
  481.  
  482.    A        96     ISO Latin-1
  483.    B        94     ASCII (default in G0, G1)
  484.    0        94     DEC Special Graphics
  485.    1        94/96  VT100 Alternate ROM
  486.    2        94     DEC Special Graphics
  487.    %5       94     DEC Supplemental Graphics = DEC Multinational Char Set
  488.    >        94     DEC Technical
  489.  
  490. There is no mechanism for the user to explicitly designate character sets to
  491. G0..G3.  See menu design in the Appendix for how to do this.
  492.  
  493. Reportedly, trying to scroll the terminal window while data is being sent to
  494. it can crash the Mac (I can't reproduce this one, maybe it's fixed now... or
  495. maybe it only happens with SuitCase, etc, loaded).
  496.  
  497. Various VT200/300 functions are not implemented, including the character-set
  498. related items mentioned above, UDKs, various DECDSR, DECRQM, and other report
  499. requests (UDK status, keyboard dialect, keyboard action, insert/replace mode,
  500. newline mode, cursor key mode, numeric keypad mode, 132 column mode, smooth
  501. scroll, reverse video, autowrap, palette request, UPSS state, tab stops).
  502.  
  503. Various obscure bugs with VT320 character attributes (most frequently
  504. appearing when using the UNIX "more" command).
  505.  
  506. Various failures with "vttest".
  507.  
  508. Set Key dialog box should show what a key sends if it is "unbound".
  509.  
  510. Set Key Macros should allow decimal and hex escapes as well as octal, like
  511. MS-DOS Kermit (or C-Kermit itself): \onnn = octal, \dnnn = decimal, \xnn =
  512. hex, \nnn defaults to decimal (of course changing the default will cause
  513. problems).  C-Kermit already has code to parse these forms, as well as to
  514. handle grouping, e.g \{27}2 to send ESC followed by 2.
  515.  
  516. Bad default mappings for many keys: Ctrl-1, Ctrl-2, etc, thru Ctrl-0.  (Also
  517. Shift-Ctrl-1, etc).  Ctrl-2 and Ctrl-Shift-2 should send NUL (ASCII 0).
  518. Ctrl-6 and Ctrl-Shift-6 should send Ctrl-^ (ASCII 30).  The other top-rank
  519. number keys should send nothing when pressed with Ctrl.  Reportedly, under
  520. System 7 some of these key combinations aren't even noticed.
  521.  
  522. Others too: Ctrl-+, Ctrl-; have codes when they shouldn't, etc etc.  
  523.  
  524. Arrow keys occasionally send incorrect sequences.
  525.  
  526. TO CHECK: Do arrow keys and numeric keypad keys respond correctly to:
  527.  
  528.   ESC =        DECKPAM        Set numeric keypad to application mode
  529.   ESC >        DECKNPNM    Set numeric keypad to numeric mode
  530.   CSI ? 1 h     SM        Set arrow keys to cursor mode
  531.   CSI ? 1 l     RM        Set arrow keys to application mode
  532.  
  533. Codes that should be sent by arrow keys:
  534.  
  535.   Key    Cursor  Application
  536.  
  537.   Up      CSI A   SS3 A
  538.   Down    CSI B   SS3 B
  539.   Right   CSI C   SS3 C
  540.   Left    CSI D   SS3 D
  541.  
  542. Codes sent by keypad keys:
  543.  
  544.   DEC           Mac
  545.   Key           Key     Numeric Application
  546.  
  547.   PF1           clear    SS3 P   SS3 P
  548.   PF2           kp =     SS3 Q   SS3 Q
  549.   PF3           kp /     SS3 R   SS3 R
  550.   PF4           kp *     SS3 S   SS3 S
  551.   0             kp 0     0       SS3 p
  552.   1             kp 1     1       SS3 q
  553.   2             kp 2     2       SS3 r
  554.   3             kp 3     3       SS3 s
  555.   4             kp 4     4       SS3 t
  556.   5             kp 5     5       SS3 u
  557.   6             kp 6     6       SS3 v
  558.   7             kp 7     7       SS3 w
  559.   8             kp 8     8       SS3 x
  560.   9             kp 9     9       SS3 y
  561.   comma (,)     kp +     ,       SS3 l
  562.   minus (-)     kp -     -       SS3 m
  563.   period (.)    kp .     .       SS3 n
  564.   Enter         enter    CR or   SS3 M
  565.              CRLF (newline ON)                
  566.  
  567. Similar comments about the DEC function keys F1..F20.  They should be
  568. mapped in some fashion to the Apple function keys (F1..F15).  Keyboard
  569. verbs should be assigned for all keys that send escape sequences, so users
  570. can remap them without having to know what the escape sequences are --
  571. especially if the escape sequences can change based on host-controlled
  572. mode-setting commands.  See how MS-DOS Kermit handles this.
  573.  
  574. An option to make the cursor change size depending on whether the VT emulator
  575. is in "insert" or "replace" mode might be desirable (handy for IBM mainframe
  576. Xedit users).
  577.  
  578. A wealth of information about VT (and Heath) terminal emulation can be found
  579. in kermit/a/msvibm.vt (the online description of the MS-DOS Kermit terminal
  580. emulator) on watsun.cc.columbia.edu, or (in more complete form) in Appendices
  581. I and II of "Using MS-DOS Kermit", Second Edition, by Christine M. Gianone,
  582. Digital Press, 1992.
  583.  
  584. Printing problems are covered below.  However, in the context of the terminal
  585. emulator, it has been pointed out that formfeeds (Ctrl-L) received during
  586. transparent print operations do not cause a page feed.  They should.
  587.  
  588.  
  589. COMMAND BUGS
  590.  
  591. Various commands are missing or non-operational: DIRECTORY, CD, PWD, PRINT,
  592. etc.  These should be filled in.
  593.  
  594. (NOTE: there is something in the MPW 3.2 release notes that says how
  595. signal(SIGINT,xxx) can be used to catch "Command-.").
  596.  
  597. The command window scrollback feature doesn't work until after you leave
  598. the command window and then reenter it.
  599.  
  600. No filename completion when ESC or TAB is typed within a filename, no file
  601. lists are produced when "?" is typed in a filename, and yet there is no beep
  602. to indicate these features don't work (instead, the cursor disappears).
  603.  
  604. Sometimes the TAKE command doesn't work (an alert box comes up: "Writing to
  605. console in applications is not supported").  Sometimes it does work.  We
  606. haven't narrowed this one down yet.  Ditto for launching Kermit from a TAKE
  607. file (Kermit document containing text commands) (this works fine for me, but
  608. one user reported that whether it works depends on the file's name!).
  609.  
  610. Some SET commands have no effect, in particular all the SET TERMINAL commands,
  611. SET FILE NAMES, ...  These should be filled in, i.e. hooked in with the
  612. Macintosh code so that both pieces of the program (Mac menu and C-Kermit
  613. command parser) use the same variables.
  614.  
  615. The PAUSE command should wake up immediately (and fail) if the user hits
  616. a key or clicks the mouse.
  617.  
  618. Some of the \v(...) built-in variables don't work right: directory,
  619. home, host.  \v(directory) should show the name of the current folder.
  620. \v(host) should show the Appletalk node name (if any) of the Macintosh.
  621. \v(home) should probably show the name of the current disk volume.
  622.  
  623. SET LINE should be converted to use a keyword table (the choices are MODEM
  624. and PRINTER).  (Well, not really -- we still want them to be able to type
  625. real device names...?)
  626.  
  627. Messages displayed by the DIAL command, by script execution, etc, do not
  628. appear on the command window screen until the next prompt appears.  In fact,
  629. this seems to be true of the messages displayed by any command, but most other
  630. commands finish quickly and a prompt is issued right away, so you don't notice
  631. this effect except for DIAL, etc.
  632.  
  633. SET DIAL DISPLAY ON doesn't work at all (even though dialing itself works
  634. fine).
  635.  
  636. In SEND, TRANSMIT, TRANSLATE, and other commands that accept Macintosh
  637. filenames, you can't include spaces in the filename.  To refer to filenames
  638. containing spaces at the Mac-Kermit> prompt or in command files, replace
  639. the space by \32, for example:
  640.  
  641.   Mac-Kermit>send This\32is\32a\32File
  642.  
  643.  
  644. FILE TRANSFER PROBLEMS
  645.  
  646. Some apparent problems with very long packets (like 9000).
  647.  
  648. An official, invertible translation between ISO Latin-1 and Apple Quickdraw
  649. does not exist (or, at least, we don't know about it).  Our own Extended Mac
  650. Latin character set is used in this version.  This set is specified in the
  651. separate file, ckmker.fon, which also discusses the other character-set and
  652. font-related issues.
  653.  
  654. When a file is received in attended mode, the file name first put in the text
  655. edit box in the receive dialogue has:
  656.  - the first character of the received name cut off;
  657.  - garbage following the last character.  The garbage has been of
  658.    varying nature -- sometimes control characters, sometimes font 
  659.    names, sometimes other things.
  660. When correcting the name, it is necessary not just to type the name's first
  661. character back in, but also to prepend a space ahead of it, or when the name
  662. is used, the first character will again be cut off.
  663.  
  664. Further, in the File Send dialogue:
  665.  - When a file name is already supplied, as from Boomerang 3, it has a garbage
  666.    character prepended to it, and sometimes junk after it;
  667.  - The highlight in the file list is for a *different* file, such as the first
  668.    in the folder;
  669.  - Moving the highlight causes the file name in the edit box to be replaced
  670.    with "X".
  671.  
  672. (Somebody suggested these problems were caused by confusion between C strings
  673. and Pascal strings.)
  674.  
  675. When downloading a file to the Mac, the file mode (text or binary) as
  676. announced in the sender's Attribute packet is not picked up by Mac Kermit.
  677. you have to click the text or binary button in the File Defaults Settings
  678. menu first.  Even then, there can be problems (as with MacBinary).
  679.  
  680. Incoming MacBinary files are not recognized automatically -- you have to
  681. click the MacBinary button beforehand.  (Not really a bug, just a desirable
  682. feature.  Apparently some other Mac communication programs can do this.)
  683.  
  684. Incoming MacBinary files are often stored with garbage in their filenames.
  685.  
  686. If a group of MacBinary files is transferred *to* Mac Kermit (remote Kermit
  687. has been told to "set file type binary" and "send *.macbinary", Mac Kermit has
  688. MacBinary selected in the File Settings dialog), only the first arriving file
  689. is treated as MacBinary.  After that, Mac Kermit forgets that it is in
  690. MacBinary mode.  Workaround: send only one file at a time to Mac Kermit in
  691. MacBinary mode.
  692.  
  693. Sometimes (maybe always) MacBinary downloads, particularly of long MacBinary
  694. files, result in errors like:
  695.  
  696.     Zclose(): MacBinary botched: this file should NOT still be open
  697.     Resource fork size mismatch...
  698.     Data fork size mismatch...
  699.     too many NAKs
  700.  
  701. In general, the code that handles incoming MacBinary files needs a lot of work.
  702.  
  703. There is no way to set the ID signature (associated application) of an
  704. incoming file.  They all become MacWrite documents (except if downloading in
  705. MacBinary mode.)  There should be a way to specify the ID for an incoming
  706. file, or at least make it a TeachText file instead of MacWrite.  (NOTE: MPW
  707. C 3.2 has a new function for doing this: fsetfileinfo() -- see release notes.)
  708.  
  709. If an Appleshare or Novell file server disk goes away (e.g. because the
  710. connection dropped) in the middle of a file transfer, The Mac hangs and has to
  711. be rebooted with the programmer button.
  712.  
  713. In the file-send dialog box, there is no way to mark selected files for
  714. sending (e.g. shift-click, shift-drag).  You can only send a single file, or
  715. else all the files in a folder.  (But you can use MSEND in the command window
  716. to send a selected list of files.)
  717.  
  718. The file transfer display / dialog-box needs a button for "retransmit the
  719. last packet" to let the user wake up a transfer that seems to be stuck.
  720. Maybe also a "send XON" button to let the user try to break an XOFF deadlock.
  721.  
  722. SET FILE DISPLAY NONE should be able to disable the file transfer display
  723. window altogether, for "silent running", for example, for people who want
  724. to incorporate Kermit into their BBS software.
  725.  
  726. It would also be nice if the file transfer display showed the name of the
  727. current folder (and other info, as in C-Kermit's fullscreen file transfer
  728. display -- character sets, estimated time to completion, etc).
  729.  
  730. The "find a new unique filename" algorithm is not great.  It starts with
  731. the filename, if it exists, appends ".0", then ".1", etc, up to ".99".
  732. However, this doesn't guarantee that the newly created version will be
  733. higher than all the others.  If .1 and .3 exist, Mac Kermit will create .2.
  734.  
  735. The File Settings menu selection "Supersede existing files of the same name"
  736. doesn't seem work.  But SET FILE COLLISION (in the command window) works
  737. correctly (except for APPEND, which acts like OVERWRITE).
  738.  
  739. When a REMOTE command is given from the command window, the Response window
  740. does not pop up to show the response.  However, if you select the Response
  741. window in the Window menu, you'll see the server's responses have been
  742. collected there.
  743.  
  744. Reportedly, you can't cut or copy from the Response Window and paste into
  745. other windows.
  746.  
  747. To be checked:
  748.  
  749.  . Mac Kermit's reaction to incoming Attribute packets.  Will it reject a
  750.    file on the basis of size?  (It should)
  751.  
  752.  . I'm pretty sure (but not positive) it reacts correctly to the
  753.    encoding/character-set attribute.  But it should show the active
  754.    character-set conversion in the file transfer display, or at least
  755.    include it in the after-the-fact statistics display.
  756.  
  757. SERVER MODE
  758.  
  759. 1. Mac Kermit server mode in general (NOTE: these haven't been checked
  760.    recently, maybe they are fixed)...
  761.  
  762. Sending a text file to the Mac Kermit server works fine.  Getting a text file
  763. from the Mac Kermit server also works fine, except the status screen still
  764. says "Receiving".
  765.  
  766. REMOTE SET FILE TYPE BINARY, sent by a client to the Mac Kermit server, works.
  767. Binary file transfers in both directions work fine.
  768.  
  769. There is, of course, no way for the client to put the Mac Kermit server into
  770. MacBinary mode, because as far as the Kermit protocol is concerned, the only
  771. transfer modes are text and binary.
  772.  
  773. REMOTE DIRECTORY sent to the Mac Kermit server, doesn't work (It sends back
  774. an E-packet saying "Can't list directory").
  775.  
  776. FINISH works, the file transfer status screen disappears, but the File
  777. Transfer top-level menu item remains highlighted.
  778.  
  779. 2. MacBinary transfers with the Mac Kermit server.
  780.  
  781. OK, now we want to transfer files in MacBinary mode with a Mac Kermit server.
  782. We click on MacBinary in the File Settings menu, then put Mac Kermit in
  783. server mode.
  784.  
  785. GETting a file from the Mac Kermit server: screen display says "Receiving"
  786. (instead of sending).
  787.  
  788. Giving a REMOTE HELP command to the server apparently makes it forget it's
  789. in MacBinary mode.  A subsequent GET has Mac Kermit sending the data fork
  790. only (empty), in binary mode.
  791.  
  792. Putting it back in MacBinary mode manually, and a subsequent GET, gives
  793. checksum errors.  Then Mac Kermit forgets it's in MacBinary mode again.
  794.  
  795. In general, there seems to be a lot of problems with Mac Kermit remembering
  796. that it's in MacBinary mode.  This is no doubt because Mac Kermit keeps its
  797. own private variables (one for text / binary / macbinary, another for
  798. data / resource / both fork(s)) instead of using Kermit's built-in "binary"
  799. variable.  This needs to be reworked.
  800.  
  801.  
  802. APPENDIX I: Excerpts from Info-Kermit Digest V16 #4
  803.  
  804. Date: Thu, 29 Oct 1992 15:47:00 EST
  805. From: Frank da Cruz <fdc@watsun.cc.columbia.edu>
  806. Subject: Macintosh Kermit Status and Q & A
  807. Keywords: Macintosh Kermit
  808.  
  809. Hundreds of messages arrive here every day asking or complaining about Mac
  810. Kermit.  Here is a brief status report, followed by some typical questions
  811. and their answers.
  812.  
  813. Mac Kermit is part of the C-Kermit family of programs.  C-Kermit 5A for
  814. UNIX, VMS, OS/2, AOS/VS, and several other operating systems is in its last
  815. stages of its 3-year-plus development.  The final beta test version will be
  816. announced soon.  Each new edit of C-Kermit is built on the Macintosh too,
  817. and so a new Mac Kermit test edit is issued with every test edit of
  818. C-Kermit.
  819.  
  820. Each new Mac Kermit edit has improvements in system-independent areas, such
  821. as file transfer performance and features, modem dialing, script language
  822. programming, etc.  However, there has been very little work on the
  823. Macintosh-specific parts of Mac Kermit in the past year, except that
  824. recently Paul Placeway made some impressive improvements in the speed of the
  825. terminal emulator.
  826.  
  827. We have big plans for "Macintosh Kermit 1.0", and have had them for a long
  828. time.  You can read about them, and also about the many bugs and problems we
  829. know about, in the file kermit/sw/ckmker.bwr on watsun.cc.columbia.edu.  You
  830. can also read, in great detail, about the problems with Mac Kermit's VT100
  831. font, and the proposed solution, in kermit/sw/ckmker.fon.  You can pick up
  832. the latest test version of Mac Kermit from kermit/sw/ckmker.hqx.  FTP all of
  833. these files in text mode.
  834.  
  835. So when will Mac Kermit 1.0 be available?  It depends on the schedules of
  836. the volunteer programmers.  As you know, nobody is being paid to work on Mac
  837. Kermit, so volunteers must find time outside of their real jobs or
  838. schoolwork to take on these tasks that we all want accomplished, and decide
  839. to do this instead of, say, making buckets of money writing commercial
  840. Macintosh applications.  It is much harder to find a public-spirited
  841. Macintosh programmer with spare time than practically any other kind of
  842. programmer.
  843.  
  844. So please be patient.  When we have a Macintosh Kermit version that we feel
  845. is comparable in quality to the other popular Kermit programs, we will
  846. announce it far and wide.  In the meanwhile, if you are a skilled Macintosh
  847. programmer capable of working in the MPW C 3.2 programming environment, and
  848. you want to pitch in, let me know.  If you are not, feel free to use the
  849. test versions, with their current limitations.
  850.  
  851. Here is where to find the latest files, all on watsun.cc.columbia.edu,
  852. via anonymous ftp, text mode:
  853.  
  854.   kermit/sw/ckmker.hqx  --  Latest Mac Kermit
  855.   kermit/sw/ckmker.bwr  --  "Beware file" for latest Mac Kermit 
  856.   kermit/sw/ckmker.fon  --  Writeup of font situation
  857.   kermit/b/ckmker.doc   --  User manual for last real release, 0.9(40), ASCII
  858.   kermit/b/ckmker.ps    --  User manual for last real release, PostScript
  859.   kermit/charsets/mac*  --  The new Macintosh Kermit font, tables, docs, etc
  860.  
  861. ------------------------------
  862.  
  863. Date: Sun, 18 Oct 1992 23:19:55 -0700 (PDT)
  864. From: Les Ferch <ferch@ucs.ubc.ca>
  865. Subject: MacKermit on Mac Plus
  866.  
  867. I noticed a couple of minor problems with MacKermit on a Mac Plus.
  868.  
  869. 1. Using "Set modifiers..." I set Option to act as Ctrl. However, it does
  870. not work. To get a Ctrl key, I have to set Command to act as Ctrl and turn
  871. off Menu Keys. It would be nice to be able to keep Menu Keys and use
  872. Option as Ctrl.
  873.  
  874. [Ed. - To use the Option key as a Ctrl key, you have to check the Opt box
  875. on the left side of the Set Modifiers dialog, and you also have to check
  876. both Unmodify and Ctrl on the right side, in the same row.  See ckmker.bwr.]
  877.  
  878. 2. The File menu is longer than the 9" screen. This confuses beginners
  879. looking for Quit. If Load Settings and Save Settings were moved to the
  880. Settings menu, the problem would be solved.
  881.  
  882. [Ed. - A well-known problem.  The menus need a lot of work.]
  883.  
  884. ------------------------------
  885.  
  886. Date: Tue, 20 Oct 92 10:29:40 EST
  887. From: Howie Richburg <RICHBUHJ%SNYCENVM@CUVMB.CC.COLUMBIA.EDU>
  888. Organization: State University of New York - Central Administration
  889. Subject: Re: MacKermit?
  890.  
  891. Maybe I am doing something wrong.  Under settings I choose key settings.
  892. The scan codes I define such as {27}3, when executed are passed through to
  893. the terminal screen as #27'3 for example and not transmitted.  Any ideas?
  894.  
  895. [Ed. - Presently, the backslash notation in Mac Kermit's key definitions
  896. only accepts octal (base 8) numbers, and no provision is made for grouping.
  897. Suppose you want to define a key to send ESC followed by the letter A.  In
  898. MS-DOS Kermit or C-Kermit, you would express this as \27A, \o33A, or \x1BA.
  899. In Mac Kermit, it must be \33A.  Now suppose you want to send ESC followed
  900. by the digit 3.  You can't write \273, because there would be no way to tell
  901. where the backslash code ended and the literal text began.  In MS-DOS or
  902. C-Kermit, you can write \{27}3, to separate the 27 from the 3.  Mac Kermit
  903. doesn't support this type of notation, so you have to write \33\63 (where 63
  904. is the octal value of the ASCII code for the character "3"), and so on until
  905. you reach the first non-numeric character or the end of the definition.
  906. Hopefully, a future release of Mac Kermit will support the same types of
  907. notation as MS-DOS Kermit and C-Kermit.]
  908.  
  909. Do you think MacKermit is stable enough to use for a Mac Powerbook running
  910. System 7?
  911.  
  912. [Ed. - We have received mixed reviews.  The main difficulty with Mac Kermit
  913. under System 7 actually has nothing to do with System 7 per se, but rather
  914. with the fact that Macs that have System 7 also tend to be loaded with lots
  915. of INITs.  Macs with all their INITs are becoming even more dangerous for
  916. communication software than PCs loaded with TSRs!  We have discovered that
  917. most INITs that have anything to do with font management -- Adobe Type
  918. Manager, SuitCase, TrueType, etc -- can interfere with Mac Kermit to various
  919. degrees, ranging from fractured screens to Mac Kermit or even system bombs.
  920. This probably happens because Mac Kermit uses its own internal font for
  921. terminal emulation.  We know the solution to this problem -- remove the
  922. internal font and make an external font suitable for VT320 emulation -- but
  923. it is taking a long time to accomplish it.]
  924.  
  925. [Ed again - About the Powerbook.  Mac Kermit works as well on the Powerbook
  926. as it works on any other Mac, except for one obvious limitation (bug).  The
  927. Powerbook does not normally come with a modem port, only a printer port.
  928. Thus you have to choose the printer port in the Communications Settings
  929. menu, which works.  So far so good.  But the port selection is not saved
  930. when you Save Settings.  So you always have to open the communications menu
  931. and select the printer port every time you run Kermit on the Powerbook.
  932. This should be fixed soon.]
  933.  
  934. In addition the Powerbook will be used to dial into a 3270 protocol
  935. converter to access our IBM host.  It will therefore require that certain
  936. key combinations submit specific codes to emulate PF keys.  The reason I ask
  937. is because I have no luck transmitting codes to emulate the PF keys.
  938.  
  939. [Ed. - This is an extremely common question, but it does not have a general
  940. answer.  Here's the story: an IBM mainframe 3270 terminal has row upon row
  941. of "PF" keys that ordinary terminals don't have.  The operation of these
  942. keys is internal to the IBM 3270 protocol -- they don't send characters,
  943. they send signals or messages, or perform certain local functions, etc.  A
  944. 3270 protocol converter -- such as an IBM 7171 -- lets ordinary ASCII
  945. terminals (or programs, like Kermit, that emulate them) interact with
  946. mainframe 3270 applications.  Data sent from the mainframe to the terminal
  947. is converted into (for example) ASCII text intermixed with VT100 escape
  948. sequences, so your screen looks right.  So far so good.  In the other
  949. direction, certain control characters or escape sequences coming from your
  950. keyboard are interpreted as PF keys.  The problem is, no two protocol
  951. converters, no two protocol-converter terminal-type configurations, no two
  952. sites, have the same idea of exactly which control characters or escape
  953. sequences should correspond to which PF keys.  WE CAN'T ANSWER THAT
  954. QUESTION.  You have to go to your IBM mainframe or IBM networking
  955. administrator and find out: for a particular terminal type (say VT100), what
  956. characters or sequences must the terminal or emulator send to simulate EACH
  957. of: the PF1 through PF24 keys; the PA1 through PA3 keys; the newline key,
  958. the cursor keys, backtab, the editing keys, the Attention key, etc etc.
  959. Once you have the table of 30 keys and their values, you can decide which
  960. keys on your Mac should correspond to which 3270 terminal keys, and then
  961. assign the corresponding character or escape sequence to each one in a
  962. Set Key Macros dialog -- a long and tedious exercise, which is best done
  963. once at each site centrally.  A Mac Kermit 3270 settings file is created,
  964. put on a file server, or copied onto diskette or and passed around.  In a
  965. future release, we hope to support plain-text key settings files like MS-DOS
  966. Kermit or C-Kermit.]
  967.  
  968. ------------------------------
  969.  
  970. Date: Tue, 20 Oct 92 16:57:53 +0100
  971. From: johnen@GEI-Aachen.de (Uwe Johnen)
  972. Subject: Kermit on Mac
  973.  
  974. I was very amused that I can use my Apple Powerbook as a terminal (vt100)
  975. over the V24 modem port. 
  976.  
  977. But using Word Perfect on our VAX I was searching for the function keys,
  978. which I have to use while working with WP.
  979.  
  980. If you have any idea where they are please let me know. I thing I tried
  981. everything. Which one tried I not ?
  982.  
  983. [Ed. - Here is another case where you must go through the long and laborious
  984. process of making many, many key assignments.  VAX WordPerfect assignments
  985. have already been done for MS-DOS Kermit in the file kermit/a/msiwp3.ini,
  986. which contains 126 SET KEY commands!  Unfortunately: (a) the keyboard scan
  987. codes of the Macintosh are different from those of the PC, and (b) there is
  988. not yet a way to import textual SET KEY commands into Mac Kermit.  As noted
  989. above, hopefully there will be a textual SET KEY command in a forthcoming
  990. release.]
  991.  
  992. ------------------------------
  993.  
  994. Date: Wed, 21 Oct 1992 12:58:24 -0700 (PDT)
  995. From: VFOAO07H@VAX.CSUN.EDU (George Mansoor)
  996. Subject: Printing from Kermit for Mac
  997.  
  998. I have a question concerning Kermit for the Mac.  Is there a way to send 
  999. output to a printer much the way that the PC version can send the emulation 
  1000. output to a printer?   Not screen dumps, but print sessions.  Does this make 
  1001. any sense?  If it can, what version of Kermit for the MAC.
  1002.  
  1003. [Ed. - Short answer: Yes.  Long answer: Here is how printing currently works
  1004. in Mac Kermit.  Everybody knows there is a Print item in the File menu, but
  1005. it is dimmed so you can't use it.  These items become active when Mac
  1006. Kermit's terminal emulator receives certain escape sequences:
  1007.  
  1008.   ESC [ 5 i  (or)   ESC [ ? 5 i   --  Start capturing text for printer
  1009.   ESC [ 4 i  (or)   ESC [ ? 4 i   --  Stop capturing text for printer
  1010.  
  1011. After receiving the "printer off" sequence, the print items can be used.
  1012. Future releases of Mac Kermit will have additional printing capabilities:
  1013. print screen, print selection, log session to printer, etc.]
  1014.  
  1015. ------------------------------
  1016.  
  1017. Date: Thu, 29 Oct 92 08:47:23 PST
  1018. From: John Holland <ZZHOLAND@UVVM.UVic.CA>
  1019. Subject: Re: 0.99(97) Bug Report
  1020.  
  1021. I reported some problems with Mac Kermit 0.99(97).  Since then I have
  1022. obtained 183, and later 184, from watsun.cc.columbia.edu.
  1023.  
  1024. I now use Mac Kermit as my terminal emulator of choice in my daily work,
  1025. connected to a mainframe at 9600 baud, using a Mac Plus.  Commercial
  1026. products, like Microphone and White Knight, seem to be assuming a slower
  1027. connection and do not refresh the screen as quickly as I would like.  Kermit
  1028. refreshes the screen quickly, and allows me to copy and paste and to move
  1029. the cursor around with the mouse (and type without having to wait for the
  1030. cursor to arrive at its destination).
  1031.  
  1032. One of the problems I noted before is no longer a problem.
  1033.  
  1034. I couldn't save settings without a system bomb.  No problem now.
  1035. However, if I set Mouse -> Arrow Keys in Terminal... under Settings,
  1036. I still can't turn it off.
  1037.  
  1038. [Ed. - Sure enough, it's a bug.  The X disappears from the check box, but
  1039. the feature is not turned off.  If you bring back the Terminal Settings
  1040. screen, the box is checked again.]
  1041.  
  1042. A new problem is related to fonts. I use Courier 10 point.  When the
  1043. text I am working on is bolded and I delete characters from the middle
  1044. of the line, pulling the rest of the line in, a trail of dots is sometimes
  1045. left.  I demonstrated this to myself by typing a row of bold WWWWWWs, then
  1046. deleting the leftmost one a few times. The rightmost pixel in the righmost
  1047. character remains on the screen. This is a cosmetic bug which I am
  1048. happily living with, given the other benefits of Kermit.
  1049.  
  1050. [Ed. - Coexistence with fonts and font managers, and other font related
  1051. problems (of which the one you list is a very minor example), are perhaps
  1052. Mac Kermit's biggest problem at present.  It is described -- and a solution
  1053. proposed -- in the files kermit/sw/ckmker.bwr and kermit/sw/ckmker.fon.]
  1054.  
  1055. ------------------------------
  1056.  
  1057.  
  1058. APPENDIX II: MENU DESIGN (DRAFT!)
  1059.  
  1060. Top-level menu:
  1061. ------------------------------------------------------------
  1062. File  Edit  Settings  Special  Transfer  Window
  1063. ------------------------------------------------------------
  1064.  
  1065. File
  1066. ------------------------------
  1067. New                           
  1068. Open...                       
  1069. Close                         
  1070. Save                          
  1071. Save As...                    
  1072. ------------------------------
  1073. Take Command File...          
  1074. Take Commands from Window      
  1075. ------------------------------
  1076. Page Setup...
  1077. Print Screen...
  1078. Print Selection...
  1079. Log Session to Printer...
  1080. Cancel Printing
  1081. (Printer buffer status?)
  1082. ------------------------------
  1083. Chain to Application...
  1084. Quit                          
  1085. ------------------------------
  1086.  
  1087. The Page Setup dialog should include a section that tells what to do
  1088. with host-initiated printing (transparent print or autoprint):
  1089. ------------------------------
  1090. (x) Send to printer
  1091. ( ) Save in Printer window
  1092. ( ) Save in file...
  1093. ( ) Discard
  1094. ------------------------------
  1095.  
  1096.  
  1097. Edit
  1098. ------------------------------
  1099. Undo
  1100. ------------------------------
  1101. Cut
  1102. Copy
  1103. Paste
  1104. Clear
  1105. Select All
  1106. ------------------------------
  1107.  
  1108.  
  1109. Settings                      
  1110. ------------------------------
  1111. Load Settings...              
  1112. Save Settings...              
  1113. ------------------------------
  1114. Communications...             
  1115. Kermit Protocol...                   
  1116. File Transfer Defaults...              
  1117. File Transfer Character Sets...
  1118. Terminal Characteristics...                   
  1119. Terminal Character Set...              
  1120. ------------------------------
  1121. *-Shift-1..*-Shift-9 Active  
  1122. Menu *-Keys Active            
  1123. Key Macros...             
  1124. Key Modifiers...              
  1125. ------------------------------
  1126.  
  1127.  
  1128. Here is the terminal character sets dialog.  It's sort of an ISO 2022
  1129. tutorial.  The first section "designates" character sets to graphics areas
  1130. G0..G3.  Only one radio button can be pushed in each column, but multiple
  1131. buttons can be pushed in a row.  A 96-byte character set (Latin-1 and DEC 
  1132. MCS are the only ones) may not be designated to G0 (ISO rule).  If Latin-1
  1133. or DEC MCS are chosen, G0 is automatically forced to ASCII.
  1134.  
  1135. The second section "invokes" the selected graphics areas to GL and GR.
  1136. Only one button can pushed in a row.
  1137. -------------------------------------------------------------------
  1138.                     Terminal Character Sets
  1139.  
  1140.                        G0   G1   G2   G3
  1141. US ASCII               (x)  ( )  ( )  ( )
  1142. ISO 8859-1 Latin-1          (x)  ( )  ( )  <-- Note: No G0 here (dim)
  1143. DEC Special Graphics   ( )  ( )  (x)  ( )
  1144. DEC Technical          ( )  ( )  ( )  (x)
  1145. DEC Multinational           ( )  ( )  ( )  <-- Note: No G0 here (dim)
  1146. British/UK             ( )  ( )  ( )  ( )
  1147. Canadian French        ( )  ( )  ( )  ( )
  1148. Dutch                  ( )  ( )  ( )  ( )
  1149. Finnish                ( )  ( )  ( )  ( )         
  1150. French                 ( )  ( )  ( )  ( )
  1151. German                 ( )  ( )  ( )  ( )
  1152. Italian                ( )  ( )  ( )  ( )
  1153. Norwegian/Danish       ( )  ( )  ( )  ( )
  1154. Portuguese             ( )  ( )  ( )  ( )
  1155. Spanish                ( )  ( )  ( )  ( )
  1156. Swedish                ( )  ( )  ( )  ( )
  1157. Swiss                  ( )  ( )  ( )  ( )
  1158. -------------------------------------------------------------------
  1159. Graphics Left  (GL):   (x)  ( )  ( )  ( )
  1160. Graphics Right (GR):   ( )  (x)  ( )  ( )
  1161. -------------------------------------------------------------------
  1162.  
  1163.  
  1164. For file transfer character sets, the "Language rules" apply only
  1165. if ASCII is checked in one (not zero or two) of the first two
  1166. columns), otherwise the language rules buttons should be dim.
  1167. -------------------------------------------------------------------
  1168.                   File Transfer Character Sets
  1169.  
  1170. File Character Set   Transfer Character Set    Language rules
  1171.  
  1172. (x) Apple Quickdraw  (x) Transparent           (x) None
  1173. ( ) ASCII            ( ) ASCII                 ( ) Dutch
  1174. ( ) ISO Latin-1      ( ) ISO Latin-1           ( ) French
  1175.                                                ( ) German
  1176.                                                ( ) Icelandic
  1177.                                                ( ) Scandinavian
  1178. -------------------------------------------------------------------
  1179.  
  1180.  
  1181. THE COMMUNICATIONS SETTINGS DIALOG
  1182.  
  1183. Here we need a couple changes in terminology:
  1184.  
  1185. 1. "Baud Rate" is "incorrect".  It should say "Transmission speed" or
  1186.    "Transmission Rate", or (if that's too long), simply "Speed".
  1187.  
  1188. 2. "Drop DTR on Quit" is obscure.  It should say "Hangup on Quit".
  1189.  
  1190.  
  1191. FILE SETTINGS DIALOG:
  1192. -------------------------------------------------------------------
  1193. ( ) Attended: dialog on each file received
  1194. (x) Unattended: with the following defaults:
  1195.  
  1196. File Names:           (x) Converted  ( ) Literal
  1197.  
  1198. Filename Collisions:  (x) Backup     ( ) Append
  1199.                       ( ) Discard    ( ) Overwrite
  1200.                       ( ) Rename     ( ) Update
  1201.  
  1202. [  ] Keep partially received files
  1203.  
  1204. Transfer Mode: (x) Text        Fork: (x) Data
  1205.                ( ) Binary            ( ) Resource
  1206.                ( ) MacBinary
  1207. -------------------------------------------------------------------
  1208.  
  1209.  
  1210. THE TERMINAL SETTINGS DIALOG
  1211.  
  1212. Change "[  ] Accept 8 Bit Characters" to:
  1213.  
  1214.   Character size: (x) 7 bits  ( ) 8 bits
  1215.  
  1216.  
  1217. THE PROTOCOL SETTINGS DIALOG (OK)
  1218.  
  1219.  
  1220. THE SPECIAL MENU:
  1221.  
  1222. Special                       
  1223. ------------------------------
  1224. Hangup
  1225. Send Break                    
  1226. Send Long Break               
  1227. Send XON                      
  1228. Reset Terminal                
  1229. ------------------------------
  1230. Log Session...                
  1231. Dump Screen...
  1232. Log Transactions...           
  1233. Log Packets...                
  1234. Log Debugging...              
  1235. Call Debugger...                 (dim if no debugger loaded)
  1236. ------------------------------
  1237.  
  1238.  
  1239. THE TRANSFER (File Transfer) MENU:
  1240.  
  1241. Transfer
  1242. ------------------------------
  1243. Send file...
  1244. Receive file...
  1245. Get file from server...
  1246. ------------------------------
  1247. Show statistics
  1248. ------------------------------
  1249. Change directory
  1250. ------------------------------
  1251. Change remote directory
  1252. Delete remote file...
  1253. List remote files...
  1254. Remote help
  1255. Remote host command...
  1256. Remote Kermit command...
  1257. Remote space...
  1258. Remote type...
  1259. Remote who...
  1260. Send file to server for printing...
  1261. ------------------------------
  1262. Finish server
  1263. Logout server
  1264. ------------------------------
  1265. Enter server mode
  1266. ------------------------------
  1267.  
  1268. THE WINDOW MENU
  1269.  
  1270. Lists the names of the windows.  It should be modified to check or
  1271. highlight the currently active window.  Assuming that font changes can
  1272. be made to work in all windows, we should move the Font item to here,
  1273. and have it invoke a submenu, applying to the current (checked) window
  1274. (the whole window?  A selection within a window?)  (We have to move
  1275. the Font menu because there isn't enough room for 7 menu items in the
  1276. top-level menu.)
  1277.  
  1278. For example: 
  1279.  
  1280.   Window
  1281.   ------------------------------
  1282. X Terminal Window                (X = checked)
  1283.   Command Window
  1284.   Response Window
  1285.   Untitled-1
  1286.   ------------------------------
  1287.   Font                        -> ------------------------------
  1288.   ------------------------------ 9-point
  1289.                  10-point
  1290.                  12-point
  1291.                  14-point
  1292.                  18-point
  1293.                  ------------------------------
  1294.                  Avant Garde
  1295.                  Bartholemew
  1296.                  Bookman
  1297.                  Chicago
  1298.                  (etc)
  1299.                  ------------------------------
  1300.  
  1301. (End of CKMKER.BWR)
  1302.